import request from '@/utils/request'

/**
 * 第三方商品分页查询
 */
export function pageThirdGoodsSku(params) {
  return request({
    url: '/third/thirdGoodsSku/paging',
    method: 'get',
    params
  })
}

/**
 * 更新库存
 */
export function updateBatchStock(params) {
  return request({
    url: '/third/thirdGoodsSku/updateBatchStock',
    method: 'post',
    data: params
  })
}

/**
 * 下载商品
 */
export function downloadGoodsSku(params) {
  return request({
    url: '/third/thirdGoodsSku/downloadGoodsSku',
    method: 'post',
    params
  })
}
